package io.socket.my;

import java.util.Date;
import org.apache.commons.lang3.time.FastDateFormat;

/**
 * @author Chris
 * @version 1.0.0
 * @date 2019/03/07
 * @since 1.0.0
 */
public class DataUtil {
    private static final String PATTERN = "yyyy-MM-dd HH:mm:ss";

    public static String getCurrentDataTime() {
        return FastDateFormat.getInstance(PATTERN).format(new Date());
    }
}
